#ifndef _ds1302_h 
#define _ds1302_h

#include "public.h"			
sbit ds1302_RST = P3^5;
sbit ds1302_CLK = P3^6;
sbit ds1302_IO = P3^4;
void ds1302_write_byte(unsigned char addr,unsigned char dat);
unsigned char  ds1302_read_byte(unsigned char addr);
void ds1302_init(void);
void ds1302_read_time(void);
extern unsigned char gDS1302_TIME[7];
#endif